@echo off
echo ========================================
echo wx_banner 服务启动测试
echo ========================================
echo.

echo 1. 检查编译状态...
if exist "target\wx_banner-1.0-SNAPSHOT.jar" (
    echo ✓ JAR文件已生成
) else (
    echo ✗ JAR文件不存在，请先运行 mvn clean package
    pause
    exit /b 1
)

echo.
echo 2. 启动服务...
echo 服务地址: http://localhost:8083
echo 健康检查: http://localhost:8083/api/upload/health
echo 面诊上传: POST http://localhost:8083/api/upload/faceImage
echo 舌诊上传: POST http://localhost:8083/api/upload/tongueImage
echo.

echo 正在启动服务，请稍候...
java -jar target\wx_banner-1.0-SNAPSHOT.jar

pause



